package com.atguigu.gmall.common.config.minio;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author:hrh
 * @create: 2022-11-03 16:24
 * @Description: Minio的属性配置类:
 */
@Data
@ConfigurationProperties(prefix = "app.minio")
public class AppMinioProperties {
    String endpoint;
    String accessKey;
    String secretKey;
    String bucket;
}
